Skip to content

Fix Linux distribution detection - #32

Merged
JonoYang merged 1 commit into
aboutcode-org:mainfrom
eclipseo:fix_detect_linux
Oct 31, 2024
Merged

Fix Linux distribution detection#32
JonoYang merged 1 commit into
aboutcode-org:mainfrom
eclipseo:fix_detect_linux

Conversation

@eclipseo

@eclipseo eclipseo commented Aug 23, 2023

Copy link
Copy Markdown

platform.linux_distribution() was removed in Python 3.8.

Fix: #31

@eclipseo
eclipseo force-pushed the fix_detect_linux branch 2 times, most recently from a0fd751 to 1026f92 Compare August 23, 2023 17:58
platform.linux_distribution() was removed in Python 3.8.

Fix: aboutcode-org#31

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
@stefan6419846

Copy link
Copy Markdown

Without this being merged and published, using typecode-libmagic instead of typecode-libmagic-system-provided is required for now on basically all supported Python versions.

@pombredanne

Copy link
Copy Markdown
Member

@stefan6419846 let me review and merge!
Note that you can always use scancode-toolkit-mini, a wheel that has no native dependencies.

@JonoYang
JonoYang merged commit 0dd3279 into aboutcode-org:main Oct 31, 2024
@JonoYang

Copy link
Copy Markdown
Member

@eclipseo Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

platform.linux_distribution has been deprecated since Python 3.5, removed since 3.7

4 participants